import request from "@/utils/request.js";
export function getLogin(data){

    return request({
        method:'post',
        url:'/user/login',
        data
    })
}
export function getList(data){
    return request({
        method:'get',
        url:'/home/shop',
        params:data
    })
}
export function getShopType(){
    return request({
        method:'get',
        url:'/shop/shopType',
    })
}
export function getUser(){
    return request({
        method:'get',
        url:'/user/getUserInfo',
    })
}
export function getSelectType(data){
    return request({
        method:'get',
        url:'/shop/selectType',
        params:data
    })
}
export function getBanner(){
    return request({
        url:'/home/banner',
        method:'get',
    })
}
export function getCar(data){
    return request({
        url:'/car/getCar',
        method:'get',
        params:data
    })
}